<template>
  <div class="home"></div>
</template>
<style lang="stylus" scoped></style>
<script setup lang="ts">
import { onMounted } from 'vue'
import cloudbase from '@/lib/cloudbase'

const init = async () => {
  const data = await cloudbase.callFunction({
    name: 'raffle',
    data: {
      active: 'active',
    },
  })
  console.log(data)
}
onMounted(() => {
  init()
})
</script>
